package com.yc;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.jms.annotation.EnableJms;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableCaching
@EnableJms
@EnableAsync    //开启异步处理
@EnableScheduling
public class MainApp {
    public static void main( String[] args ){
        SpringApplication.run(MainApp.class);
    }
}
